package com.wyq.service;

import java.util.List;
import java.util.Map;
import java.util.Set;

import com.wyq.bean.Audience_Q;
import com.wyq.bean.Audience_Qtitle;

public interface AudienceQService {
	//保存问卷调查标题
	public int saveAudienceQtitle(Map qTitlemap,final int flag) throws Exception;
	//删除问卷调查标题
	public void removeAudienceQtitle(Audience_Qtitle aq) throws Exception;
	//保存问卷调查内容
	public int saveAudienceQContent(Map qTmap,final int flag) throws Exception;
	//删除问卷调查内容
	public void removeAudienceQContent(Audience_Q aqc) throws Exception;
	public Set<Audience_Q > findAllAudience_Q(Audience_Qtitle aq) throws Exception ;
	public List<Audience_Qtitle>  findAllAudience_Qtitle(String type) throws Exception;
	//根据ID获取调查问卷标题名称
	public String getQTitleName(String qTitleID) throws Exception;
	//根据ID获取调查问卷内容名称
	public String getQText(String qID) throws Exception;
	//获取问卷调查标题
	public List findAllQTitle(String type) throws Exception;
	
	//根据问卷调查标题获取内容
	public List findAllQContentByQTitleId(String qTitleid) throws Exception;
}
